<template>
	<div class="order">
		<li>
			<img src="../../assets/img/logo.3739ba12.png" />
		</li>
		<li><span>手机号注册/登录</span></li>
		<li>
			<input type="text" placeholder="请输入手机号" v-model="phone_order">
		</li>
		<li>
			<input type="text" placeholder="请输入验证码" maxlength="6" v-model="txt"><a href="#" class="aa">获取验证码</a>
		</li>
		<li><button @click="order()">一键注册/登录</button></li>
		<li>
			<span>非大陆手机号登录</span>
			<span>账号密码登录</span>
		</li>
		<li>
			<img src="../../assets/img/wx.4d8763f2.png" />
			<img src="../../assets/img/qq.2fc75e53.png" />
		</li>
		<li>
			<p>未注册游侠客账号的手机，登录时将同时注册，登录代表您</p>
			<br>
			<p><span>已同意</span>《服务协议》<span>和</span>《隐私政策》</p>
		</li>
		<li>体验游侠客微信小程序<i class="iconfont">&#xe869;</i></li>
	</div>
</template>

<script>
import Cookies from 'js-cookie';
export default{
	name : 'Order',
	data(){
		return{
			phone_order:'',
			txt:''
			}
		},
		methods:{
			order(){
				Cookies.set('numbers',this.phone_order,{expires : 30})
				Cookies.set('txt',this.txt,{expires : 30})
				this.$router.push('/user')
			}	
		},
		computed:{
			result(){
				return this.$store.state.person
			}
		}
}
</script>

<style>
.order{
	list-style-type: none;
	text-align: center;
}
.order li img{
	width: 70px;
	height: 2rem;
}
.order li:nth-child(2) span{
	height: 0.45rem;
	margin: 0 auto;
	font-size: 0.5rem;
	font-weight: bold;
	color: #000000;
	display: block;
}
.order li:nth-child(3) input{
	width: 80%;
	height: 0.88rem;
	border-radius: 0.1rem;
	margin-top: 0.36rem;
	padding: 0.24rem 0.25rem 0.24rem 0.25rem;
	color: #000000;
	background-color: rgba(241,241,241);
	-webkit-appearance: none;
	border: none;
}
.order li:nth-child(4) input{
	width: 80%;
	height: 0.88rem;
	border-radius: 0.1rem;
	padding: 0.24rem 0.25rem 0.24rem 0.25rem;
	margin-top: 0.36rem ;
	background-color: rgba(241,241,241);
	color: #000000;
	-webkit-appearance: none;
	border: none;
}
.order li:nth-child(4) button{
	width: 80%;
	height: 100%;
	line-height: 0.22rem;
	border: none;
	color: #ecc927;
	font-size: 0.28rem;
	text-align: right;
	font-weight: bold;
}
.order li:nth-child(5) button{
	width: 88%;
	height: 1.3rem;
	margin: 0.36rem auto;
	font-size: 0.4rem;
	font-weight: bold;
	border-radius: 0.1rem;
	line-height: 0.43rem;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	background: rgba(254,209,1,.2);
	color: black;
}
.order li:nth-child(6){
	width:85%;
	height: 0.37rem;
	margin-top: 0.24rem;
	padding: 0 0.7rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: gray;
}

.order li:nth-child(7) img{
	width: 0.8rem;
	height: 0.8rem;
	padding: 0 1.42rem;
	margin-top: 6rem;
	align-items: center;
	justify-content: space-between;
}
.order li:nth-child(8){
	position: relative;
	margin-top: 2rem;
}
.order li:nth-child(8) p:first-child{
	color: gray;
}
.order li:nth-child(8) span{
	color: gray;
}
.order li:nth-child(9){
	width: 100%;
	height: 2rem;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: gold;
	font-size: 0.4rem;
	margin-bottom: 1rem;
}
.order li:nth-child(4) a{
	margin-left: -2.1rem;
	color: #f2d227;
	font-size: 0.4rem;
}
</style>
